package com.TauriaTour;

import java.util.ArrayList;
import java.util.List;
import com.TauriaTourUtil.Model;

import android.app.ListActivity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;

public class FragListaFotos extends Fragment{
		
//	private class ListViewImage extends ListActivity {
//		private List<Model> list;
//
//		@Override
//		protected void onCreate(Bundle savedInstanceState) {
//			
//			super.onCreate(savedInstanceState);
//			list = getModel();
//			ArrayAdapter<Model> adapter = new InteractiveArrayAdapter(getApplicationContext(), list);
//			setListAdapter(adapter);
//		}
//		
//		private List<Model> getModel() {
//			list = new ArrayList<Model>();
//			for (int i = 0; i < 5; i++) {
//				Model model = new Model("strTitle" + i, "strContent" + i,
//						"strUrlContext" + i, "strUrlImage" + i);
//				list.add(model);
//			}
//			return list;
//		}
//	}


	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {

		View myFragmentView = inflater.inflate(R.layout.frag_listfotos,container, false);

		return myFragmentView;
	}
	
}